package com.banggood.upms.bean.vo.search;

import com.banggood.upms.bean.vo.validation.AddGroup;
import com.banggood.upms.common.constant.StatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.*;

import javax.validation.GroupSequence;

/**
* @author XuChuangFeng
*/
@Data
@ApiModel(value = "系统权限搜索条件", description = "负责接收封装调用者传入的参数")
@GroupSequence({AddGroup.class, SysPermSearchCriteria.class})
public class SysPermSearchCriteria extends BaseSearchCriteria {

    @ApiModelProperty(value = "系统编码")
    private String code;

    @ApiModelProperty(value = "是否激活状态")
    private StatusEnum status;

    @ApiModelProperty(value = "系统ID", hidden = true)
    @ApiParam(hidden = true)
    //@Pattern(regexp = "^[0-9]*$", message = "{validation.SysPermSearchCriteria.systemId.Pattern}", groups = {AddGroup.class})
    private String systemId;
}
